﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace ReadNovel.API.Response.Book
{
    [DataContract]
    public class BookDirectoryResponse:BaseResponse
    {
        [DataMember(Name = "article_info")]
        public Article_info_ Article_info { get; set; }

        [DataMember(Name = "chapter_info")]
        public Chapter_info_[] Chapter_info { get; set; }



        [DataContract]
        public class Article_info_
        {
            [DataMember(Name = "articleid")]
            public String Articleid { get; set; }

            [DataMember(Name = "title")]
            public String Title { get; set; }

            [DataMember(Name = "author")]
            public String Author { get; set; }

            [DataMember(Name = "finishflag")]
            public String Finishflag { get; set; }

            [DataMember(Name = "last_text_time")]
            public String Last_text_time { get; set; }

            [DataMember(Name = "first_vip_chapter_displayorder")]
            public String First_vip_chapter_displayorder { get; set; }

        }

        [DataContract]
        public class Chapter_info_
        {
            [DataMember(Name = "id")]
            public String Id { get; set; }

            [DataMember(Name = "subhead")]
            public String Subhead { get; set; }

            [DataMember(Name = "is_vip")]
            public String Is_vip { get; set; }

            [DataMember(Name = "word_count")]
            public String Word_count { get; set; }

            [DataMember(Name = "create_time")]
            public String Create_time { get; set; }

            [DataMember(Name = "update_time")]
            public String Update_time { get; set; }

            [DataMember(Name = "status")]
            public String Status { get; set; }

            [DataMember(Name = "displayorder")]
            public String Displayorder { get; set; }

        }
    }
}
